package com.hsu.gateway.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author Hsu琛君珩
 * @Date 2025-03-23 19:35
 * @Description
 * @Version: v1.0.0
 */
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "security.ignore")
@Getter
@Setter
public class IgnoreWhiteProperties {

    /** 放行白名单配置，网关不校验此处的白名单，从Nacos读取前缀为security.ignore  */
    private List<String> whites = new ArrayList<>();

}
